<#include "../common/frontlayout.ftl"/>
<@html title_='${user.nickname!user.username}的动弹-lifes77' js_=['/lifes/tweet_add_comment.js']>
<div class="article-section-wrap">
    <input type="hidden" id="tweetId" value="${id}"/>
    <div class="article-section">
        <div class="container" style="padding-left: 4px;padding-right: 4px">
            <div class="nrtj-wrap"></div>
            <div class="wrap-left pull-left">
                <!--文章内容页-->
                <div class="article-wrap" style="padding-left: 0">

                    <div class="article-author">
                        <div class="column-link-box">
                            <span class="article-time pull-left"></span>
                            <span class="article-share pull-left">阅读<c id="readCount"><#if stat??>${stat.readCount!'0'}<#else>0</#if></c></span>
                            <span class="article-share pull-left">收藏<c id="collectCount"><#if stat??>${stat.collectCount!'0'}<#else>0</#if></c></span>
                            <span class="article-share pull-left">点赞<c id="praiseCount"><#if stat??>${stat.praiseCount!'0'}<#else>0</#if></c></span>
                        </div>
                    </div>

                    <div class="pl-list-wrap">
                        <div class="dp-list-box">
                            <div class="dl-user ">
                                <ul>
                                    <li>
                                        <a href="/u/${user.username}" target="_blank"><img src="${user.headimg}"></a>
                                    </li>
                                </ul>
                                <div class="one-pl-content">
                                    <p class="content">
                                        <span class="name">${user.username}</span>
                                        <a href="/u/${user.username}" target="_blank"></a>&nbsp;&nbsp;
                                        <span class="author-content">${tweet.content}</span>
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="pl-box-btm">
                            <div class="article-type pull-right">
                                <ul>
                                    <li class="js-icon-like" data-type="like">
                                        <a style="cursor: pointer;" onclick="tweet_praise(${id})">
                                            <i class="icon icon-like <#if praiseDetail??>active</#if>" <#if praiseDetail??>style="background-color: #FFFFFF"</#if>"></i><span class="like" id="praiseCountNum"><#if stat??>${stat.praiseCount!'0'}<#else>0</#if></span>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>


                    <!--文章头图-->
                <#--<#if blog.banner??>
                    <div class="article-img-box">
                        <img src="${blog.banner}">
                    </div>
                </#if>-->

                    <!--公共评论-->
                    <div class="pl-wrap" name="pl-wrap-article">
                        <div class="pl-form-wrap">
                            <div class="pl-form-box pl-article-wrap">
                                <textarea class="form-control " name="saytext" placeholder="请文明评论~"></textarea>
                                <button class="btn btn-article js-login transition " onclick="addTweetComment(this,${id})">评论</button>
                            </div>
                        </div>

                        <div name="pl-wrap"></div>

                    </div>

                    <div class="pl-list-wrap">
                        <span class="span-mark-author active">评论列表</span></br></br>
                        <div id="commentsListBody"></div>
                    </div>

                </div>
            </div>

            <div class="wrap-right pull-right">

                <div class="box-author-info">
                    <div class="author-face">
                        <a href="#" target="_blank">
                            <img src="${user.headimg}">
                        </a>
                    </div>
                    <div class="author-name">
                        <a href="/u/${user.username}" target="_blank">${user.nickname!user.username}</a>
                        <a href="#" target="_blank"><i class="i-vip icon-vip" title="青铜三"></i></a>
                        <i class="i-icon icon-auth3" title="实力OB"></i>
                    </div>
                    <div class="author-one">${user.selfInfo!'该用户很懒~'}</div>
                    <div class="author-one">lol</div>
                    <div class="author-article-pl">
                        <ul>
                            <li><a href="/u/${user.username}" target="_blank">${blogCount!0}篇文章</a></li>
                        </ul>
                    </div>
                    <div class="author-next-article">
                        <div class="author-one c2">最近文章</div>
                        <a href="/blog/${lastBlog.blogId}">${lastBlog.blogTitle}</a>
                    </div>
                </div>

            <#--友情链接-->
                <#include "friendly_link.ftl"/>
                <div class="placeholder"></div>
            </div>
        </div>
    </div>
    <div class="article-section article-section-last"></div>
</div>

</@html>

